package com.doform.android.xianggucheng.bean.request_bean;

import com.doform.android.xianggucheng.help.AppHelp;
import com.google.gson.Gson;

/**
 * 作者 Y_MS
 * Created by ${APEN} on 2017-08-12.
 * GitHub：https://github.com/cxydxpx
 */

public class ReqBill {
    /**
     * "pageid":1,pagesize":20，"_otype":"list","_savetype":"balanceinquiry","debug":true
     * sdate=2017-07-01&edate=2017-07-30
     *
     * @param sDate
     * @param edate
     */
    private String sdate;
    private String edate;
    private String pageid = "1";
    private String pagesize = "60";
    private String _otype = "list";
    private String _savetype = "balanceinquiry";
    private boolean debug = AppHelp.getInstance().Debug;

    public ReqBill(String sDate, String edate, String mCurrentPage) {
        this.sdate = sDate;
        this.edate = edate;
        this.pageid = mCurrentPage;
    }

    @Override
    public String toString() {
        return new Gson().toJson(this);
    }
}
